package com.zyj.check.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zyj.common.annotation.Excel;
import com.zyj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 资产盘点详情对象 assets_check_detail
 * 
 * @author zhuyujie
 * @date 2022-05-17
 */
public class AssetsCheckDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long checkDetailId;

    /** 盘点编号 */
    private Long checkId;

    /** 资产编号 */
    @Excel(name = "资产编号")
    private String assetsId;

    /** 人员编号 */
    private Long userId;

    /** 所属部门编号 */
    private Long deptId;

    /** 是否盘点 */
    @Excel(name = "是否盘点")
    private String checkFlag;

    /** 盘点时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    @Excel(name = "盘点时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /** 盘点人编号 */
    private Long checkUserId;

    /** 盘点人名称 */
    @Excel(name = "盘点人名称")
    private String checkUserName;

    /** 资产类别 */
    @Excel(name = "资产类别")
    private String assetsType;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String assetsName;

    /** 资产状态 */
    @Excel(name = "资产状态")
    private String assetsStatus;

    /** 规格型号 */
    private String assetsModel;

    /** SN号 */
    @Excel(name = "SN号")
    private String assetsSn;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 使用人名称 */
    @Excel(name = "使用人名称")
    private String userName;

    public String[] getAssetsSnArray() {
        return assetsSnArray;
    }

    public void setAssetsSnArray(String[] assetsSnArray) {
        this.assetsSnArray = assetsSnArray;
    }

    private String[] assetsSnArray;

    public void setCheckDetailId(Long checkDetailId) 
    {
        this.checkDetailId = checkDetailId;
    }

    public Long getCheckDetailId() 
    {
        return checkDetailId;
    }
    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }
    public void setAssetsId(String assetsId) 
    {
        this.assetsId = assetsId;
    }

    public String getAssetsId() 
    {
        return assetsId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCheckFlag(String checkFlag) 
    {
        this.checkFlag = checkFlag;
    }

    public String getCheckFlag() 
    {
        return checkFlag;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setCheckUserId(Long checkUserId) 
    {
        this.checkUserId = checkUserId;
    }

    public Long getCheckUserId() 
    {
        return checkUserId;
    }
    public void setCheckUserName(String checkUserName) 
    {
        this.checkUserName = checkUserName;
    }

    public String getCheckUserName() 
    {
        return checkUserName;
    }
    public void setAssetsType(String assetsType) 
    {
        this.assetsType = assetsType;
    }

    public String getAssetsType() 
    {
        return assetsType;
    }
    public void setAssetsName(String assetsName) 
    {
        this.assetsName = assetsName;
    }

    public String getAssetsName() 
    {
        return assetsName;
    }
    public void setAssetsStatus(String assetsStatus) 
    {
        this.assetsStatus = assetsStatus;
    }

    public String getAssetsStatus() 
    {
        return assetsStatus;
    }
    public void setAssetsModel(String assetsModel) 
    {
        this.assetsModel = assetsModel;
    }

    public String getAssetsModel() 
    {
        return assetsModel;
    }
    public void setAssetsSn(String assetsSn) 
    {
        this.assetsSn = assetsSn;
    }

    public String getAssetsSn() 
    {
        return assetsSn;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkDetailId", getCheckDetailId())
            .append("checkId", getCheckId())
            .append("assetsId", getAssetsId())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("checkFlag", getCheckFlag())
            .append("checkTime", getCheckTime())
            .append("checkUserId", getCheckUserId())
            .append("checkUserName", getCheckUserName())
            .append("assetsType", getAssetsType())
            .append("assetsName", getAssetsName())
            .append("assetsStatus", getAssetsStatus())
            .append("assetsModel", getAssetsModel())
            .append("assetsSn", getAssetsSn())
            .append("deptName", getDeptName())
            .append("userName", getUserName())
            .append("createTime", getCreateTime())
            .toString();
    }


}
